package model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the m_pasien database table.
 * 
 */
@Entity
@Table(name="m_pasien")
public class MPasien implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String alamat;
	private String alamatWali;
	private String jnsKelamin;
	private Date masaBerlakuMember;
	private String nama;
	private String namaPerusahaan;
	private String namaWali;
	private int noKpAsuransi;
	private String pekerjaan;
	private String status;
	private String statusWali;
	private String telepon;
	private String teleponWali;
	private Date tglLahir;
	private String tmpLahir;

	public MPasien() {
	}


	@Id
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getAlamat() {
		return this.alamat;
	}

	public void setAlamat(String alamat) {
		this.alamat = alamat;
	}


	@Column(name="alamat_wali")
	public String getAlamatWali() {
		return this.alamatWali;
	}

	public void setAlamatWali(String alamatWali) {
		this.alamatWali = alamatWali;
	}


	@Column(name="jns_kelamin")
	public String getJnsKelamin() {
		return this.jnsKelamin;
	}

	public void setJnsKelamin(String jnsKelamin) {
		this.jnsKelamin = jnsKelamin;
	}


	@Temporal(TemporalType.DATE)
	@Column(name="masa_berlaku_member")
	public Date getMasaBerlakuMember() {
		return this.masaBerlakuMember;
	}

	public void setMasaBerlakuMember(Date masaBerlakuMember) {
		this.masaBerlakuMember = masaBerlakuMember;
	}


	public String getNama() {
		return this.nama;
	}

	public void setNama(String nama) {
		this.nama = nama;
	}


	@Column(name="nama_perusahaan")
	public String getNamaPerusahaan() {
		return this.namaPerusahaan;
	}

	public void setNamaPerusahaan(String namaPerusahaan) {
		this.namaPerusahaan = namaPerusahaan;
	}


	@Column(name="nama_wali")
	public String getNamaWali() {
		return this.namaWali;
	}

	public void setNamaWali(String namaWali) {
		this.namaWali = namaWali;
	}


	@Column(name="no_kp_asuransi")
	public int getNoKpAsuransi() {
		return this.noKpAsuransi;
	}

	public void setNoKpAsuransi(int noKpAsuransi) {
		this.noKpAsuransi = noKpAsuransi;
	}


	public String getPekerjaan() {
		return this.pekerjaan;
	}

	public void setPekerjaan(String pekerjaan) {
		this.pekerjaan = pekerjaan;
	}


	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


	@Column(name="status_wali")
	public String getStatusWali() {
		return this.statusWali;
	}

	public void setStatusWali(String statusWali) {
		this.statusWali = statusWali;
	}


	public String getTelepon() {
		return this.telepon;
	}

	public void setTelepon(String telepon) {
		this.telepon = telepon;
	}


	@Column(name="telepon_wali")
	public String getTeleponWali() {
		return this.teleponWali;
	}

	public void setTeleponWali(String teleponWali) {
		this.teleponWali = teleponWali;
	}


	@Temporal(TemporalType.DATE)
	@Column(name="tgl_lahir")
	public Date getTglLahir() {
		return this.tglLahir;
	}

	public void setTglLahir(Date tglLahir) {
		this.tglLahir = tglLahir;
	}


	@Column(name="tmp_lahir")
	public String getTmpLahir() {
		return this.tmpLahir;
	}

	public void setTmpLahir(String tmpLahir) {
		this.tmpLahir = tmpLahir;
	}

}